package designPattern.structuralPattern.facade;

/**
 * @author wei.zhao
 * @description: 外观角色
 * @date 2021年12月15日 18:36
 */
public class Facade {
    private SubSystem01 obj1 = new SubSystem01();
    private SubSystem02 obj2 = new SubSystem02();
    private SubSystem03 obj3 = new SubSystem03();

    public void method1() {
        obj1.method1();
    }

    public void method2() {
        obj2.method2();
    }

    public void method3() {
        obj3.method3();
    }

}
